﻿using AutoMapper;
using Menus.Dtos;
using Menus.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Menus.Services
{
   public interface IUserMenusRepository
    {
        Task<IEnumerable<UserMenu>> GetUserMenusAsync(int permisson);
        int GetPerMissionByToken(string role);
        Task<List<UserSecondMenu>> MenuSecondMenusChange0btainMenusPermissionDtoAsync(IEnumerable<UserMenu> userMenus);
    }
}
